/* eslint-disable */
import SmartForm from "./src/main";

import SmartFormGroup from "./src/smart-form-group.vue";

import SmartFormLayout from "./src/smart-form-layout.vue";

import SmartCheckbox from "./src/smart-checkbox";
import SmartCheckboxGroup from "./src/smart-checkbox-group";
import SmartCheckTree from "./src/smart-check-tree";
import SmartDatePicker from "./src/smart-date-picker";
import SmartDateRange from "./src/smart-date-range";
import SmartEditor from "./src/smart-editor";
import SmartFileUploader from "./src/smart-file-uploader";
import SmartImageUploader from "./src/smart-image-uploader";
import SmartMultipleSelect from "./src/smart-multiple-select";
import SmartRadioGroup from "./src/smart-radio-group";
import SmartSelect from "./src/smart-select";
import SmartSelectTree from "./src/smart-select-tree";
import SmartSwitch from "./src/smart-switch";
import SmartTextView from "./src/smart-text-view";

/* istanbul ignore next */
SmartForm.install = function (Vue) {
    Vue.component(SmartForm.name, SmartForm);

    Vue.component(SmartFormGroup.name, SmartFormGroup);
    Vue.component(SmartFormLayout.name, SmartFormLayout);

    Vue.component(SmartCheckbox.name, SmartCheckbox);
    Vue.component(SmartCheckboxGroup.name, SmartCheckboxGroup);
    Vue.component(SmartCheckTree.name, SmartCheckTree);
    Vue.component(SmartDatePicker.name, SmartDatePicker);
    Vue.component(SmartDateRange.name, SmartDateRange);
    Vue.component(SmartEditor.name, SmartEditor);
    Vue.component(SmartFileUploader.name, SmartFileUploader);
    Vue.component(SmartImageUploader.name, SmartImageUploader);
    Vue.component(SmartMultipleSelect.name, SmartMultipleSelect);
    Vue.component(SmartRadioGroup.name, SmartRadioGroup);
    Vue.component(SmartSelect.name, SmartSelect);
    Vue.component(SmartSelectTree.name, SmartSelectTree);
    Vue.component(SmartSwitch.name, SmartSwitch);
    Vue.component(SmartTextView.name, SmartTextView);
};

export default SmartForm;

